<?php

class Damages_Methods_Data_Processes_Action {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $code;
  
  public function __construct(DamagesActions $action) {
    $this->id = $action->getId();
    $this->name = $action->getName();
    $this->code = $action->getCode();
  }

}